Skip to content

Skip load balancer clean up when none were created #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 22, 2025

Conversation

sd109
Copy link
Contributor

@sd109 sd109 commented Jul 22, 2025

We sometimes fail to create load balancers due to the load_balancer_member role missing. This patch ensure we do not fail to delete those clusters due to a lack of permissions to list all load balancers.

@sd109 sd109 requested a review from a team as a code owner July 22, 2025 11:10
@sd109
Copy link
Contributor Author

sd109 commented Jul 22, 2025

Corresponding CAPO patch proposed here: kubernetes-sigs/cluster-api-provider-openstack#2629

Copy link
Contributor

@JohnGarbutt JohnGarbutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good plan, specifically for the case where the LB create fails because the app cred doesn't have the correct role to access octavia.

@JohnGarbutt JohnGarbutt added the bug Something isn't working label Jul 22, 2025
@sd109 sd109 merged commit cb62037 into main Jul 22, 2025
8 checks passed
@sd109 sd109 deleted the fix/lb-delete-permissions branch July 22, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants